import { defineStore } from 'pinia'
export const settingStore = defineStore('setting', {
    state: () => ({
        testCount: 0
    }),
    // 开始数据持久化
    persist: true,
    actions: {
        addCount() {
            this.testCount++
        },
        lessCount() {
            this.testCount--
        }
    },
})
